package com.zzj.service;

import com.github.pagehelper.PageInfo;
import com.zzj.bean.EmployeeBean;
import com.zzj.utils.Result;

public interface EmpService {
    //添加一名员工
    Result addEmp(EmployeeBean employeeBean);
    //通过员工ID删除一名员工
    Result delEmp(int eid);
    //通过员工ID修改一名员工的信息
    Result updateEmp(EmployeeBean employeeBean);
    //查看所有员工的信息
    Result<PageInfo<EmployeeBean>> findAllEmpl(int pageNum,int pageSize);
    //查看某一位员工的信息
    Result<EmployeeBean> findEmpByEid(int eid);
}
